<?php
/**
 *Author:淡心心心
 *Date:2021/4/19
 *Time:19:23
 */


class Car
{
    private $name;
    private $wheel;
    private $fdj;

   public function getC(){
       return $this->name;
   }

   public function setC($name,$wheel=4){
      $this->name=$name;
      $this->wheel=$wheel;
   }

   public function driver(){

       echo $this->name."\n";
       echo "有".$this->wheel."个轮子\n";

   }


}
